package cc.greencat.gcmall.ware.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;

/**
 * 采购信息
 * 
 * @author greencat.cc
 * @email greencatcc@163.com
 * @date 2021-01-11 21:57:32
 */
@TableName("purchase_info")
public class PurchaseInfoEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 采购单id
	 */
	@TableId
	private Long id;
	/**
	 * 采购人id
	 */
	private Long assigneeId;
	/**
	 * 采购人名
	 */
	private String assigneeName;
	/**
	 * 联系方式
	 */
	private String phone;
	/**
	 * 优先级
	 */
	private Integer priority;
	/**
	 * 状态
	 */
	private Integer status;
	/**
	 * 仓库id
	 */
	private Long wareId;
	/**
	 * 总金额
	 */
	private BigDecimal amount;
	/**
	 * 创建日期
	 */
	private Date createTime;
	/**
	 * 更新日期
	 */
	private Date updateTime;

	/**
	 * set 采购单id
	 */
    public void setId(Long id){
        this.id = id;
    }
    /**
	 * get 采购单id
	 */
    public Long getId(){
        return this.id;
    }
	/**
	 * set 采购人id
	 */
    public void setAssigneeId(Long assigneeId){
        this.assigneeId = assigneeId;
    }
    /**
	 * get 采购人id
	 */
    public Long getAssigneeId(){
        return this.assigneeId;
    }
	/**
	 * set 采购人名
	 */
    public void setAssigneeName(String assigneeName){
        this.assigneeName = assigneeName;
    }
    /**
	 * get 采购人名
	 */
    public String getAssigneeName(){
        return this.assigneeName;
    }
	/**
	 * set 联系方式
	 */
    public void setPhone(String phone){
        this.phone = phone;
    }
    /**
	 * get 联系方式
	 */
    public String getPhone(){
        return this.phone;
    }
	/**
	 * set 优先级
	 */
    public void setPriority(Integer priority){
        this.priority = priority;
    }
    /**
	 * get 优先级
	 */
    public Integer getPriority(){
        return this.priority;
    }
	/**
	 * set 状态
	 */
    public void setStatus(Integer status){
        this.status = status;
    }
    /**
	 * get 状态
	 */
    public Integer getStatus(){
        return this.status;
    }
	/**
	 * set 仓库id
	 */
    public void setWareId(Long wareId){
        this.wareId = wareId;
    }
    /**
	 * get 仓库id
	 */
    public Long getWareId(){
        return this.wareId;
    }
	/**
	 * set 总金额
	 */
    public void setAmount(BigDecimal amount){
        this.amount = amount;
    }
    /**
	 * get 总金额
	 */
    public BigDecimal getAmount(){
        return this.amount;
    }
	/**
	 * set 创建日期
	 */
    public void setCreateTime(Date createTime){
        this.createTime = createTime;
    }
    /**
	 * get 创建日期
	 */
    public Date getCreateTime(){
        return this.createTime;
    }
	/**
	 * set 更新日期
	 */
    public void setUpdateTime(Date updateTime){
        this.updateTime = updateTime;
    }
    /**
	 * get 更新日期
	 */
    public Date getUpdateTime(){
        return this.updateTime;
    }

}
